import http from '@/utils/http.js'
import config from '@/config/config.js'

export const registerDevice = (data, sipConfigId) => {
	const url = `/vapi/device/device/reg?sipConfigId=${sipConfigId}`
	return http.post(url,data)
}

export const sipConfigAll = () => {
	const url = `/vapi/device/sip/config/all`
	return http.get(url)
}